<!DOCTYPE html>
<html>
    <body>
        <style>
            #foo {
                font-size: 0px;
            }

            #bar {
                font-size: 2px;
                math-depth: calc(sign(1em - 1px));
            }
        </style>
        <div id="foo">
            <div id="bar"></div>
        </div>
        <script src="../include.js"></script>
        <script>
            test(() => {
                println(getComputedStyle(bar).mathDepth);
            });
        </script>
    </body>
</html>
